package com.jichangxiu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * JcxBootAdmin:
 *
 * @author Jcx
 * @create 2023-04-09 14:02
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class JcxBootAdmin extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(JcxBootAdmin.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(JcxBootAdmin.class);
    }

}
